package com.multidb.configdemo.service;


import com.multidb.configdemo.dao.order.OrderDao;
import com.multidb.configdemo.entity.order.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderService {

    @Autowired
    OrderDao orderDao;

    public Order getOrder() {
        return orderDao.selectByPrimaryKey(1L);
    }

}
